package com.example.sportmeetserver.dao;
import com.example.sportmeetserver.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserDao extends JpaRepository<User, Long> {

    User findByAccount(String account);

    User findByUsername(String username);

}
